package com.itheima;

import com.itheima.pojo.PaperBox;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Hello world!
 */
public class App {
    public static void main(String[] args) {

        //创建容器对象
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("beans.xml");


        PaperBox paperBox = context.getBean(PaperBox.class);


        System.out.println(paperBox);


    }
}
